-
Notifications
You must be signed in to change notification settings - Fork 61
sysext: add built-in Incus sysext image #1655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f116e61
to
09f3036
Compare
09f3036
to
635a695
Compare
tormath1
commented
Feb 14, 2024
sdk_container/src/third_party/portage-stable/app-containers/lxc/lxc-5.0.3.ebuild
Outdated
Show resolved
Hide resolved
635a695
to
7e0fe1a
Compare
pothos
reviewed
Mar 6, 2024
7e0fe1a
to
849780e
Compare
849780e
to
bfe0b2b
Compare
tormath1
commented
Mar 13, 2024
sdk_container/src/third_party/portage-stable/app-containers/incus/incus-0.6-r1.ebuild
Outdated
Show resolved
Hide resolved
This comment was marked as outdated.
This comment was marked as outdated.
Build action triggered: https://github.com/flatcar/scripts/actions/runs/9052482849 |
bfe0b2b
to
c18d6c2
Compare
c18d6c2
to
accd423
Compare
0e6070a
to
257114d
Compare
257114d
to
3bc9670
Compare
3bc9670
to
fb6a0f2
Compare
krnowak
reviewed
May 16, 2025
...ainer/src/third_party/coreos-overlay/coreos-devel/board-packages/board-packages-0.0.1.ebuild
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,3 @@ | |||
cros_pre_src_compile_pkgconfig() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a fix candidate for upstream, no?
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.accept_keywords
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/profiles/coreos/base/package.use
Outdated
Show resolved
Hide resolved
sdk_container/src/third_party/coreos-overlay/coreos/config/env/acct-group/incus
Show resolved
Hide resolved
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
It's from Gentoo commit 91137d52c4f6307b512c6f447236bc75e8f8b3ec. Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Incus build uses pkg-config support in Go to link against some library. This needs the correct sysroot version of PKG_CONFIG to be exported. Signed-off-by: Jeremi Piotrowski <[email protected]> Co-Authored-By: Mathieu Tortuyaux <[email protected]>
Sort the sysext entries as well. Signed-off-by: Mathieu Tortuyaux <[email protected]>
this is required when loading the sysext image to dynamically load / unload the groups provided by the image. Signed-off-by: Mathieu Tortuyaux <[email protected]>
This requests the `incus.service` for the multi-user.target Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
While building on `amd64`: ```bash dosbin: _dist/bin/linux_amd64/incusd does not exist ``` Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
Signed-off-by: Mathieu Tortuyaux <[email protected]>
e20e6bd
to
7ccc2f4
Compare
krnowak
approved these changes
May 19, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In this PR, we add Incus support as opt-out built-in sysext.
Note for reviewers:
app-containers/incus: fix cross-compilation issue
(app-containers/incus: fix cross-compilation issue gentoo/gentoo#42095)userdb
to dynamically load and unload those groups when we load and unload the sysext image (note: it seems a soft reboot might still be necessary)static-libs
useflag enabled forsys-libs/libcap
as it seems we don't use this flag for the generic image but for the SDK - that said, the CI output does not show any change regarding the libcap.How to use
(This is optional to use ZFS)
Once on the instance, you can use a preseed or follow the interactive
incus admin init
:changelog/
directory (user-facing change, bug fix, security fix, update).github/workflows/portage-stable-packages-list
/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.Closes: flatcar/Flatcar#1319